package summer_vacation.zengguangchuan;

import java.util.Scanner;

/**作业23
 * Created by lenovo0 on 2015/8/24.
 */
public class Assignment_3 {
    public static void main(String[] args){
        System.out.println("请输入成绩： ");
        Scanner s=new Scanner(System.in);
        int i=s.nextInt();
        if(i>=90){
            System.out.println("等级A");
        }else if(i>=80){
            System.out.println("等级B");
        }else if(i>=70){
            System.out.println("等级C");
        }else if(i>=60){
            System.out.println("等级D");
        }else {
            System.out.println("等级E");
        }
    }
}
